package com.yunxi.service.localService.vehicle;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.model.vehicle.VehicleSpectrum;
import com.yunxi.vehicle.pojo.VehicleSpectrumReqVO;
import com.yunxi.vehicle.pojo.VehicleSpectrumRespVO;
import com.yunxi.vehicle.pojo.VehicleSpectrumVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 生产车型型谱 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-16
 */
public interface VehicleSpectrumService extends IServicePlus<VehicleSpectrum> {

    Object findTreeList() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    Object treeAlias() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    VehicleSpectrumVO loadByNodeCode(String nodeCode);

    Object treeFull() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    Object findTreeList(LoginInfo loginInfo) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    boolean delAll();

    PageInfo<VehicleSpectrumRespVO> queryVehicleSpectrumByApp(VehicleSpectrumReqVO vo,Integer pageNum,Integer pageSize);

    List<VehicleSpectrumRespVO> queryVehicleSpectrumByApp(VehicleSpectrumReqVO vo);

    List<VehicleSpectrumRespVO> queryVehicleSpectrumByAppLast(VehicleSpectrumReqVO vo);
}
